<form action="" class="form-horizontal" role="form">
	<div class="form-group">
	    <label class="col-sm-2 control-label">排列序号</label>
	    <div class="col-sm-1">
	      <input type="number" class="form-control" name="sort" min="0" placeholder="" datatype="n"  value="{$productClass.sort}">
	    </div>
	</div>
	<div class="form-group">
	    <label class="col-sm-2 control-label">类目名称</label>
	    <div class="col-sm-2">
	    	<input type="text" class="form-control" name="name" placeholder="" datatype="*" value="{$productClass.name}">
	    </div>
	</div>
	<div class="form-group">
	    <label class="col-sm-2 control-label">选取模式</label>
	    <div class="col-sm-2">
	    	<select class="form-control" id="type" name="type" datatype="*">{$productClass.typeOptions}</select>
	    </div>
	</div>
	<div class="form-group">
		<div class="col-sm-offset-2 col-sm-8">
			<input type="hidden" name="id" value="{$productClass.id}">
			<button type="submit" class="btn btn-primary" data-loading-txt="提交中，请稍后……" data-ajax-url="__CONTROLLER__/modifyPost">保存更改</button>
			<button type="button" class="btn btn-info" onclick="location.href='__CONTROLLER__/brand?id={$productClass.id}'">管理类目品牌</button>
			<button type="button" class="btn btn-info" onclick="location.href='__CONTROLLER__/efficiency?id={$productClass.id}'">管理类目功效</button>
		</div>
	</div>
</form>